package cn.net.xyan.easy.gwt.client.ui;

import cn.net.xyan.easy.gwt.client.ui.cell.ButtonItemCell;
import com.google.gwt.user.cellview.client.Column;

import java.util.List;

/**
 * Created by zarra on 16/3/3.
 */
public interface TableDelegate<T> {
     int numberOfColumn();
     Column<T,?> column(int columnIndex);
     String columnName(int columnIndex);
     List<ButtonItemCell<T>> buttons();

}
